package com.imti.mall.order.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imti.mall.model.sms.pojo.SmsFlashPromotionProductRelation;
import com.imti.mall.order.mapper.FlashPromotionProductRelationMapper;
import com.imti.mall.order.service.FlashPromotionProductRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FlashPromotionProductRelationServiceImpl extends ServiceImpl<FlashPromotionProductRelationMapper, SmsFlashPromotionProductRelation> implements FlashPromotionProductRelationService {

    @Autowired
    private FlashPromotionProductRelationMapper flashPromotionProductRelationMapper;

    @Override
    public SmsFlashPromotionProductRelation flashPromotionProductRelation(Long productId) {
        return flashPromotionProductRelationMapper.flashPromotionProductRelation(productId);
    }
}
